import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/styles/index.scss'  //引入scss文件

Vue.use(ElementUI);
Vue.config.productionTip = false

//全局组件定义
//Vue.component('myHello',{render(){return <h1>hello world</h1>}});
import './components/global'

//国际化
import i18n from './i18n/i18n'
//全局filters引入
import './filters'
//全局变量
Vue.prototype.url = 'http://localhost:5058/'

//路由拦截
import './permission'


new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')

